<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <style>
        img{
            width: 100px;
            height: 100px;
        }
    </style>
</head>

<body>
    <div id="app"></div>
    <template id="my-app">
        <img :src="imgUrl" alt="">
    </template>

    <script>
        const App = {
            template: '#my-app',
            setup() {
                const message = Vue.ref('<h2>sss</h2>')
                const imgUrl = Vue.ref('https://desk-fd.zol-img.com.cn/t_s960x600c5/g5/M00/01/0E/ChMkJ1bKwhGIJFUZAAVHFzXgsW8AALGiQGvaxcABUcv637.jpg')
                const url = Vue.ref('https://www.baidu.com')
                return {
                    imgUrl,
                }
            },
        }
        Vue.createApp(App).mount('#app')
    </script>
</body>

</html>